package com.zf.yichat.api.controller.product;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.alipay.api.domain.Product;
import com.zf.yichat.api.controller.BaseController;
import com.zf.yichat.api.dto.request.ProductRequest;
import com.zf.yichat.api.dto.request.SmsSendRequest;
import com.zf.yichat.utils.YiChatMsgCode;
import com.zf.yichat.utils.common.GeneralUtils;
import com.zf.yichat.utils.response.FsResponse;
import com.zf.yichat.utils.response.FsResponseGen;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("product")
public class ProductController extends BaseController {


    @PostMapping("/list")
    public FsResponse sendSms(@RequestBody ProductRequest request) {
        request.valid();

        return FsResponseGen.success();

    }







}
